package cn.wmw.xyy.service;

import cn.wmw.xyy.domain.KillCourse;
import cn.wmw.xyy.dto.KillCoursePreOrderDto;
import cn.wmw.xyy.vo.CourseOrderInfoVo;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wmw
 * @since 2023-01-13
 */
public interface IKillCourseService extends IService<KillCourse> {

    void saveKillCourse(KillCourse killCourse);

    List<KillCourse> selectByKillActivityId(Long killActivityId);

    List<KillCourse> getOnlineAll();

    KillCourse getOnlineOne(Long killCourseId, Long killActivityId);

    String kill(KillCoursePreOrderDto killCoursePreOrderDto);

    CourseOrderInfoVo oneByOrder(String orderNo);
}
